|
|
|
BlueCielo Meridian Asset Management Module 2013 Administrator's Guide | BlueCielo ECM Solutions |
User-defined function that controls activation of the Manage Links button in the Manage Object Links dialog box. The button is enabled if this function is not defined or returns True. The button is disabled if this function is defined and returns False.
Function AMMWhereUsedManageLinksIsAllowed()
This function accepts no parameters.
Function AMMWhereUsedManageLinksIsAllowed() ' The current document is a main tag ' Search for proxy document Dim Drawing Set Drawing = FindDoc(Document.ParentFolder.ID, "_M", ".dwg", "AutoPlant") ' If proxy document was not found, use main tag. If Drawing Is Nothing Then Drawing = Document End If ' Allow editing when document is not released. AMMWhereUsedManageLinksIsAllowed = Drawing.WorkFlowState <> AS_WF_RELEASED End Function
Remarks
If the vault uses proxy documents for folder linking, the function must implement logic that determines whether the current document is a proxy document or a main tag document as shown in the preceding example. For more information about folder linking, see NEW Configuring linking to folders.
Related concepts
Copyright © 2000-2013 BlueCielo ECM Solutions |